package decorator;

public class RedShapDecorator extends ShapeDecorator {
    public RedShapDecorator(Shap shap) {
        super(shap);
    }

    @Override
    public void draw() {
        shap.draw();
        setRed();
    }

    private void setRed() {
        System.out.println("使用红色的画笔");
    }
}
